package com.motorola.dp.jenkinsmonitor.service.util.collections;

import java.util.Collection;

import com.motorola.dp.jenkinsmonitor.model.util.collections.Predicate;
import com.motorola.dp.jenkinsmonitor.model.util.collections.Transformer;

public interface CollectionsService {

    <T> Collection<T> filter(Collection<T> target, Predicate<T> predicate);

    <T> Collection<T> filterAndTransform(Collection<T> target,
            Predicate<T> predicate, Transformer<T> transformer);

}
